package quickstart.action;

import java.util.Date;

import quickstart.model.User;

import com.opensymphony.xwork2.Action;

@SuppressWarnings("serial")
public class ValidateAction {

	
	private String email;
	private String password;
	private Date birthday;
	private User user = new User();


	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public Date getBirthday() {
		return birthday;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}
 
	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public String execute () {
		return Action.SUCCESS;
	}

}
